package _9练习;

public class SportTeacher extends Teacher implements Sport{
	@Override
	public void playBasketball() 
	{
		
		System.out.println("年龄为"+age+"岁"+name+"老师，正在打篮球");
	}
	
	public SportTeacher(String name,int age)
	{
		this.name=name;
		this.age=age;
	}
	
	public SportTeacher()
	{
		
	}
}
